package io.wdb.modules.generator.generator.service.impl.operation;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.generator.generator.dao.BookEntityDao;
import io.wdb.modules.generator.generator.entity.customer.BookEntityCustomer;
import io.wdb.modules.generator.generator.service.operation.BookShelfOperationAppsService;

@Service
public class BookShelfOperationAppsServiceImpl implements BookShelfOperationAppsService{
	
	@Autowired
	private BookEntityDao bookEntityDao;
	@Override
	public List<BookEntityCustomer> getBookEntitysByGridCode(String currentGridCode) {
		return bookEntityDao.queryBooksByGridCode(currentGridCode);
	}

	@Override
	public List<BookEntityCustomer> getBookInfosByRfids(List<String> list) {
		return bookEntityDao.getBookInfosByRfids(list);
	}
}
